Environment generation works