Error Generating Scripts (v2025)

A bit of hassle, but it works!