Binaries rewritten in ruby