moved twitter script to EOF