Updated deploy script to accommodate settings.