Improved docstring of the script_repr function