made the script interactive... (still a bit messy but works...)

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>