Added alter on config, and move anonymous to theme function