How do I export Completed Job Stats with scripts?