inital version with url fetching
fix host check