Fix problems with white spaces in script
Change the command to control nginx and php5-fpm services
Change the extension name of the php fpm poll
Add ownership change to the web directory
Update the path for changing ownership on the web root