improved scripts added bash PWD built-in