Added new printing format as well as better handling of different URL varieties