Updated scripts, possible fix for errors.