updated version
added exception handling for incorrect CL syntax