the event should be created and posted inside the if, so that it only happens when the features generate.