changes for if-else branches in SDLtoECConvert.py