Added basic support for script files