extracted query parameters into settings file. updated datagen