Now allows ip addresses to be passed in instead of urls