change the expect script