lua: added XP Save script