add flash policies