Add environment task depdency