top section of mgeoindex with scripts added