Add script file handling