How to convert ex4 to ex5