validation scripts