Code for capturing Twitter data with python 2.7.3+ and shell script for transferring files from an EC2 to S3