Tweak script to not have errors.