Added script to deploy and restart endpoints