added compare tree status
added rescue Exception for diff command