added boilerplate to site_load