finished SQS python code. keys altered