Improving mail command, disallowing buckets from stack command, adding back in logging to patterns