Added script file reading