frontpage template, combining scripts & other small fixes