Added windows reload handling to tasks