config now prioritized over making a new gallery every time