Improved command line output, removing redundant print statements.