added more cmd hooks