trying to make url auto