Added set min and set max commands