text: # This script created a queue
  #
  # Author - Sean Jennings Nov 2015
  #
  #
  import boto.sqs
  import boto.sqs.queue
  from boto.sqs.message import Message
  from boto.sqs.connection import SQSConnection
  from boto.exception import SQSError
  import urllib2
  import sys
  
  # Get the keys from a specific url and then use them to connect to AWS Service 
  keypart1 = urllib2.urlopen("http://ec2-52-30-7-5.eu-west-1.compute.amazonaws.com:81/key").read()
  access_key_id, secret_access_key = keypart1.split(':')
  
  # Set up a connection to the AWS service. 
  conn = boto.sqs.connect_to_region("eu-west-1", aws_access_key_id=access_key_id, aws_secret_access_key=secret_access_key)
  
  # create a new queue passed as a parameter
  
  q = conn.get_queue(sys.argv[1])
  m = q.read()
  print m.get_body()
  q.delete_message(m)