now uses command line argument for path name