removed some whitespace
changed output added debug param
added output file.. need to add timestamps