Updated flag check to be more strict, and applied it to the image grabbing stage
Updated skip and flag button wait time from 7 seconds to 5.