modified paramters to follow standard commandline conventions
removed debug print