change raw_input to interactive