added a command line selector