Moved printing out of Environment class