Better way of opening urls