added cmd option to compare.sh