[SOLVED] Using expect

Please help me guys with this, its my first time using expect.

heres what i wanted to do. inputs are in red

sitescope@server:/opt/HP/SiteScope/bin> ./config_tool.sh -i console
This wizard enables you you to change the ports assigned to SiteScope,
move configuration data from one SiteScope installation to another,
and install/uninstall the HP Operations agent

Select the actions that you want to perform.
--------------------------------------------------------------
--------------------------------------------------------------
Please select one of the options

->1 - Export: ()
  2 - Import: ()
  3 - Change ports: ()
  4 - HP Operations Agent: ()

: 1
--------------------------------------------------------------
SiteScope source folder
Folder name []
PRESS <1> to accept the value [], or <2> to change the value
2
Folder name:
/opt/HP/SiteScope
Folder name [/opt/HP/SiteScope]:
PRESS <1> to accept the value [/opt/HP/SiteScope], or <2> to change the value
1
--------------------------------------------------------------
Exported configuration target file name
File Name [SiteScope.zip]
PRESS <1> to accept the value [SiteScope.zip], or <2> to change the value
1

here's my script

#!/usr/bin/expect

set timeout 20

spawn ./config_tool.sh -i console

expect ": " { send "1\r" }
expect "" { send "2\r" }
expect "" { send "/opt/HP/SiteScope\r" }
expect "" { send "1\r" }
expect "" { send "1\r" }

interact

and heres what happened

sitescope@server:/opt/HP/SiteScope/bin> ./script.txt
spawn ./config_tool.sh -i console
This wizard enables you you to change the ports assigned to SiteScope,
move configuration data from one SiteScope installation to another,
and install/uninstall the HP Operations agent

Select the actions that you want to perform.
--------------------------------------------------------------
--------------------------------------------------------------
Please select one of the options

->1 - Export: ()
  2 - Import: ()
  3 - Change ports: ()
  4 - HP Operations Agent: ()

: 1
2
/opt/HP/SiteScope
1
1
--------------------------------------------------------------
SiteScope source folder
Folder name []
PRESS <1> to accept the value [], or <2> to change the value
Folder name:

i believe its because all of them are having same prompt which is blank. any help?

--------------------------
i solved it using this. if you still have suggestions you are more that welcome.

#!/usr/bin/expect

set timeout 20

spawn ./config_tool.sh -i console

expect -re ":" { send "1\r" }
expect -re " to change the value" { send "2\r" }
expect -re "Folder name:" { send "/opt/HP/SiteScope\r" }
expect -re " to change the value" { send "1\r" }
expect -re " to change the value" { send "1\r" }
interact