Added in all linked_dirs and removed the execution for creating a tmp folder