added switch for irc server