tweaked main to take command line args