polished code of environment (and all files before)