mod command line parsing