add configurable trusted sites calculation