Update

There were some errors with the updated script, now fixed.