refactored script parsing logic
Merge branch 'master' of https://github.com/anumishra1/Mercy into script_validations
Added Script level Validations