quick tool to run this thing
now query is working as a subcommand properly