+ Updated script with proper nginx configuration
+ Updated to make sure permissions are properly set