new script to get and write niche data