Setting the correct URL