Fix variable loading, add FrameXML folder.