added position and scale key support