updates to deployment script and startup script