Add ENDSCALE keyword