got the prefix code working quite well, changed a few country codes.
drwxr-xr-x - cmd
drwxr-xr-x - data
drwxr-xr-x - perl