prepare for cloning on server