Optimizing buildscript
Heavily optimized changelog script