supporting offline download kms app
merging 2.2.1.kms_offline