added flashing script