Understanding the dangers and opportunities of this choice , President Pervez Musharraf chose to stand with America , and since then he has taken tremendous steps to fight Islamic extremists and move Pakistan toward enlightened moderation .