added error handling for twitter if there are problems. also had an issue with renaming variable names.