Refactor code to use content in settings