Script for generating news page