xmpp implementation. added scripts