incremental changes to validation scripts - still needs some work.