added terminal configuration