Set proper url construction