Updated batch_flat_table_initialization script to include missing stage defining conditions