Uses  if available from . Tested here and if the envvar is not defined nothing too bad seems to happen.