adding improved checker script