added the findcommand command