add script and license, update README