Rewrite autoconsolecommand a little