scott's script
add language code as file export name