Minor fixes in a script and in helpers/reader