prepare for deployment