preferences works and it looks for it for http get