added script for generating query strings for exp 4