Changed the way shared task is created