v1.01, added command line arguments