initial version of a script to validate NLM