Corrected a bug. We were defining the EDML variables twice.