support for bulid 3066's new Exec class

should be backward compatible