This will hopefully fix the script errors