Gather command callback in one place