encoded some urls
finished out preferences