updates, added special strings %index and %title to location html