a lot of fixes
add settings.mk.example