implement basic commandline options