add input checked script