Implemented running any command.