changing path to be relative to server