running wavefor-compare command from tmp by changing working directory
Fixed merge conflict.