freestyle expression

i got a render to do with freestyle. but i need to write an expression. and driver don t seem to be accesible fro freestyle.
the basic idea is to get a change every 10 frames to the perlin noise 2d seed. so it should be something like every ten frames increase seed by one.
if someone get an idea?