fixing GET to use same table as doEnvironmentsPOST