Fix permissions to ensure assets are served & update script to allow rapid rebuilding