Added scaleOverride function