Added functionality for endlessTwitterLoop