command line utility to send queries to amazon and print response