Fixed location directives and updated index.