Refactored on_start code using did_it_work.
Error handling for on_start hook (#196).
0.2.89