Implement command line options