Added generate single pair script.