Support for input scripts (issue #62)