Added support for whitelisting additional scripts.