better script, but still fixing bugsplat things