Script pathname ($0) is no longer important, just currentdir and its basename