added main file to do the checks