Better app url handling