Fixing up the build and deploy entry point scripts.