Add tags to specify whether or not the action takes place inside, or outside of the loop.