use path variable for npm command