update path detection
update readme