Implemented rotation of tasks working directory

related to #119