Database export and sidebar theming