part way through improving output and making script more robust, but need to comment on Mike's PR so committing what I have
(#325)
final edits
(#325)
fixed update
(#325)
fixed directory creation, supply of fail_value
(#325)