Modify expect script for bower