Added code to convert boxes to runtime keyframes