Rework the main to load also GAL files