Modified to read from index.hml