Fixed configs and deploy script