Added version attribute to .cfg files (#5928)