add run query script