Alter mirb exit command into module function