added [on] option as key for mod def obj