Result export function added