added gen_xmpp.sh