remove unused checker function defined at beginning of scripts file