Add run_tasks.C macro, needed to prepare the environment before running the tasks.C macro