add copyright info and script docstring explaining purpose of program