deploy preparation