changed from hard coded urls to relative urls.