better way of setting up the site object for the panel