implement export with scale