add prereq on NX and NX::Cmd