Print error message when final rebase fails in 'update' script
Define pretty print functions and use it in scripts
Use pretty print functions in common functions
Use pretty print functions in local functions