add debugging to setting ENV vars