Import config switches in gallery and video templates