Create command line tool and swithc to use Pathname