removed localhost references and replaced with relative path to the
server