added option to retrieve urls