public function createScript($params)
    {
        $className = $this->className;

        $filePath = $this->fileLocator->locate('@'.$this->relativePath);

        return new $className($filePath, $params);
    }