debugging output

environment vars to console not script (d'oh!)