Fixed CSV generation and region data from app