Added VERSION and fixed unnecesary compaction invocation