Fixed a realllly stupid bug in the command wrapper.