adding SDL to EC conversion Python script