made some more changes to create a usable run_tasks file