Added footer and loading time code