Script to modify object attributes