updating example scripts, fix for enums to allow access to additional attributes, note to self about derived classes in schema