move output dir to root and fix indent