scripts validate