Document scaling mod