removed debug printout. Added capability to accept simpler command line parameters