adding config, fixing irc bug