Temp(?) workaround for dll scripts to avoid crash