fleshed out some commands (particularly flag setting and unsetting)
drwxr-xr-x - cmd
drwxr-xr-x - perl