flag overlay now functional