Prepare command line tool