Outsourced hide command

-sm_hide is now an optional module