adds an anonymous option and hooks in to config reload event