beautify render script to be easier to diff/patch
Merge pull request #551 from emdete/p4

beautify render script to be easier to diff/patch