Fix enviroment file. Fix selecting list of entities