updated urls
only replace relative urls for prince
streamlined pdf task