diff --git a/src/main/java/com/profesorfalken/jpowershell/PowerShell.java b/src/main/java/com/profesorfalken/jpowershell/PowerShell.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/profesorfalken/jpowershell/PowerShell.java
+++ b/src/main/java/com/profesorfalken/jpowershell/PowerShell.java
@@ -344,7 +344,7 @@ public class PowerShell implements AutoCloseable {
      * @param params    the parameters of the script
      * @return response with the output of the command
      */
-    private PowerShellResponse executeScript(BufferedReader srcReader, String params) {
+    public PowerShellResponse executeScript(BufferedReader srcReader, String params) {
 
         if (srcReader != null) {
             File tmpFile = createWriteTempFile(srcReader);
Make public the executeScript method which uses BuffReader