enable query for repo only
adjust mainpage script for repo
comment out populate elements

should be made to run only if they don't exist