Fix attribute variable syntax and add license