fix backspacing although i thought it already worked
script example
better header printing