multi flash support + router improvements