Clean up step/notification generation and chmod

Now we generate and chmod the steps and notifications when
the plan is added or updated, instead of during each run.