Update index.php

Add load function.