refactored to load binary based on current arch. remove postinstall script hook