Setting correct relative URL