added origin check for PAC file