multiple commits on twitter script; eliminated unnecessary code