getting urls set up correctly