Update test scanning script