Actually fixed the script bug now