make query a command-line arg