Reworked logging output to use print and not wscript.echo
Minor optimization