*nix .pl script updated