add command line parameters to mapgen