Fixed bug for 'cssh' command and changed upgrade condition.