libsls - Added settings.sh to contain functions used by generate_settings.sh