fix build script
fix flash message options
fix flash message options