improved maui.cfg template