Added capability to chose the CLDevice at command line.