Removed hard-coded localhost urls