changed route to access commands directly