For some reason $PWD doesnt works everywhere