Pakistan, ADB sign $500m loan agreement