Will having `add_guard_inherited_attributes` on `script` resource be better?