add PATH and disable r