added energyfactor and missing dll