fixed run script to be able to run locally