war: update to use home directory if on remote