libsls - generate_settings.sh (WIP - Fix call to cleanup temporaries)