Added better connect url detection, added url for demo