Moved function so we can grab the LUA file location
LUA filenames are now correctly given
Rough draft of editplugin
Database only rewrites if newer now
We are far enough along to have a persistent database