Added location to task_spec