changed database to support not live custom pages