Bug fix. Added license.