add parameters to Flash policy factory