Added internal URL to export function. It should be now working.