Fixed absolute URLS...

Fixed absolute URL's and added flag for local host.