Hopefully fixed the script error