updated twitter_bot and twitter_functions