Added scalefactor script.