fixed up run script a bit