changed to page.onLoad method, sqlite3 based
changed to page.onLoad method, sqlite3 based