rewrote the rpm export distributor