implement check script