Added a feature to run tasks in place