allowing -u option for url as per hw3part3