Convert console command