pub fn run_script_in_dir(
    script: String,
    dir: &Path,
    ctx: &EvaluationContext
) -> Result<(), Box<dyn Error>>