added terminate instance button