remove unnecessary boltutil
added bunch of .end() after writing stuff