cleanup main commands file