Script to directly query glue records
shell script