Add commandline flags and example