check dependencies of external commands