added cmd line tool