corrected syntax errors in et-add, improperly terminated statements and improperly scoped variables