Debugged and made pages dynamic.