removed logging for token
add windows environment variable parsing support