Scrip code lines fixed for checkedbox selected