Only show the settings if there are any flags
Added migration script