Add license lines to build.sh and post.py.