Added ability to deploy locally using 'local'