script 01PRegulator: cannot cast VivaeAgent