Added flash controls