I am wondering if we shouldn't do that only once at the begining of the file. ping @Lothiraldan