make it an usable commandline tool