GIMP 2.4 changed from SIOD to Tiny Scheme.
Some older scripts broke.
Migration guide on GIMP website.