Afghan president upbeat on rebuilding economy