add the site setting function