Added skipping of successfully finished steps after restart. Improved error handling inside scripts. Added bookkeeping.