Set licence key and cache