Insert export function