updating it to run locally