Changed calls to begin_edit() to custom command runners