adding new script to initialize flat tables: initialize_flat_tables