Minor refactoring, handle scene detector configuration