added loading of evs
fixed indent issues, added checking of pe and zstat images