magic.py license and trying to get rid of fixed version in bash script