Update flash scripts and cm101 script