scriptfiles are now read line by line instead of all at once. Behavior of istreams was not totally clear with respect to handling \r\n and how they are represented. Current impl solves this