Hi there,
you don't need to terminate your EEM applet with an 'end' action. The 'end' actions are used to mark the end of a conditional block, ie:
action 001 if <condition01>
action 002 if <condition02>
action 003 if <condition03>
action 004 puts "Hello"
action 005 end
action 006 end
action 007 end
...you need these end actions as EEM has no concept of curly braces for grouping of statements, or indentation.
...I should add that I have included indentation in the above example for the benefit of human readers :)
cheers,
Seb.