Remigrated flash initialization out of sessionInit