making the checker function as a script temporarily