add fix to use the updated plc_object.php with conditional call to