In goes student export function