same textures tiling in material

Hi all,
I am looking for a script which will apply same map tiling for all maps in material (diff,spec, nrm etc.)

Thanks for help
Michal