Updated deployment scripts.
Some more updates of the deployment scripts.