End of page checking, removed console loggers