Remove debugging code from environment route