added ability to read an array of whitelist URLs