[#7510] add license header and docstring to new script