libsls - generate_settings.sh (WIP - Finish argument parsing + checking)