added twittering mode and modified im key