added url detection