move deploy to top level