Prepare code for deployment