output dir fix, ui fix for github links, use mkdirp