small fix in flash scripts