added options to choose analysis
added trace header