added expect script to lib