[script] improve formatting readability