Make the pgd script compatible with sh.