add netrc support