implemented smart checkbox script, adding them later