added flash mode settings