realized script support for magnifier ratio