Add script to run a query against all databases