replace LNX variable with PWD