Thread added. URI stuff added