Fixes bug in which there was not output if the output directory didn't exist.
Moves to 1.0.4
Merge branch 'release/1.0.4' into develop