Logic changes for Palette check & Radhika's commit