Redesign terminal output in scripts