Change how random values are choosen in response

This commit uses a cleaner way to pick a random element from the arrays
in each script.