Script to build the reduced isolated pairs sample RIP