Now script its runnable, added global vars for arguments, improved verbose messages, added getDateTime() function for logging