outputs to top-level folder