added commandline tool