Update shell script to get current folder not entire path