Finished flag verification script