running wavefor-compare command from tmp by changing working directory