add scaling script