Openfire from ldap to internal database

Hi, we have openfire 3.10.2 with ldap and all messages stored in the openfire.script (hsqldh), what we need is to put it local (withou ldap), and restore all users and messages no the server, Im trying to change the OFPROPERTY VALUES in the openfire.script, but its not working.
Any ideia?

Thanks