Added docstrings to the scripts.