Several updates for deployment scripts.