reading settings from flash