Updated import/export function of themes