Made file executable.
Made smb-debug more flexable. The previous implementation was becoming cumbersome to maintain.