modified the wrapper to accept named command line arguments