Create Query_instances.ps1