Fix autoconsolecommand