pre-deploy