Modify env path in headers of R scripts.