Added mute pattern and mute command
Added tighter parameter checking