added check to ensure urls with http are excluded
opps, added support to exclude https too