more optimizations to the deployment scripts and configuration files