add basic commandline support