added functionlity to use config with multiple galaxies, if it meets certain conditions
(#401)
fixed merge conflict
(#401)