move isAvatar property access to Agent object
update the script examples for new nomenclature
remove extra Script and commented out line
Merge pull request #1810 from birarda/master

scripting nomenclature changes