fixed a bug with megalo variants and added finished script db system. all that's left to do is create the parameter type objects