- added argument to select the task location