Reference gen script now compresses distribution directory into reference.zip, see #159