add license to to.sh