Updated deploy script to cp database config