Added a scaling option.