Changes to fix twitter.py