Modified deploy script to automatically start api.js script.