Get modules by environment