Added license key callback function