Added check.py  for cron scheduler to separate it from main script