server now takes search query from commandline