Anyway to automatically find invalid scripts?