Added import/export function