Unchecking a checkbox doesn't crash the script anymore