move deploy to script