Do all formatting in the shell script