Added mask min and debug commands