add the possibility to show stdout while running a script