added output folders for flat_tables initiation