script to produce tag file data