register xmpp script is ready