Script fix

Believe this is all fixed, need it to be online to self-validate.