moved deploy stuff to shared_deploy