Account export function