script will create dispatcher folder and will assign appropriate permissions. Then it will create docroot, logs and scripts folders inside dispatcher folder. Scripts copies the necessary files for dispatcher and also populates the scripts with dynamic variables. Later, checks if required IIS AppPool is present, if not terminates the website creation and the script too. Finally, does the house keeping as well by cleaning up any temporary files created during script execution.