Fixing exists audit period migration script