prepare for deploying