Add options for console and socket