Further development of external command handling