sqs script