Fixing text file reading
Forcing flattening of script during cue managment