Minor fixes to deployment scripts.