add requirement for batchui
use batchui functionality of capturing streams
remove prints