adding stack trace info and set path script