Include statements to Script.definition if it has docstring
Check the case where multiple docstrings are defined