Added more indexpage code