Deployment server hook fix