default to localhost, set path for check