Added output_dir option to `init` in wrap_c.jl