changed default output path
Added proper error handling in case of a missing template config