Adding flash code