feedback on code usability for interactive and batch mode, and implementing necessary changes
feedback on code usability for interactive and batch mode, and implementing necessary changes