Support multiple whitelist paths

Can use either a single path, or  an array of paths for whitelist