add support for run_locally
Merge pull request #21 from opower/add_run_locally

add support for run_locally