Different approach to the expect script.