Made the config be able to render different pages depending on the presence of the details file