Iran says it wants nuclear power only to make electricity , but in recent months President Mahmoud Ahmadinejad has been increasingly defiant of U.N. and Western demands for proof of his government 's peaceful intentions .