cat sqs script