added pre-deploy hook to deploy config
removed ref line from deploy config