Add pre-status-cmd and post-status-cmd script hooks