Fixed expect scripts

Change-Id: If3a6f315d70db119e0fcb7e2997c9947325e33a9