Modify stat command behavior