Fixed bug in github script.
Added GPL2 license.