style fixes and improvements, specify and use pacUrl