change batch app. to interactive app.