Changed main to handle settings-based Mapper config