Adds code to load or not custom overlays