BUG: cosima executable was not deleted correctly