finishing up changes to deploy/restart scripts