Changed system to run_locally