export original from http://www.bolthole.com/solaris/zrep/