Moved code creating temp folders into make_temp function.
Added test for detecting command not found errors.
Fixed 0 not found error.
Merged...