new cmsKey img added. code cleanup