@Override
    public boolean addResources(Path tmpSystemfile, List<ResourceVO> resource) throws IOException, InterruptedException {
        if (!FileUtil.control(tmpSystemfile) || (resource == null) || (resource.size() <= 0)) {
            IllegalArgumentException iae = new IllegalArgumentException("The Systemfile is null/invalid or there are no resources!");
            Main.handleUnhandableProblem(iae);
        }

        Script s = this.script.createAddScript(tmpSystemfile, resource, RESOURCE_HACKER_LOG);
        assert FileUtil.control(s.scriptPath());

        if (s != null) {
            return this.packer.write(s);
        }
        return false;
    }