Attempt to fix the script mechanism.