adds environment dependency to unsubthem task