changed path vars to enable run on server