updated stub to allow for longer running script. Using putStream. updated File command