Add license and shebang to build-metadata.py
use env for shebang in tools
chmod +x tools/*py
Merge branch 'master' into env-python
Merge branch 'env-python'