adding commandline args to examples