Update Script 1 - generates homepage