Improved subm command