adding a handler to echo the stuff that the environment sets