Added sanity check & autocomplete for URLs