added docstring for the Python script