integrity_check script added