Fixed script to generate files that fix issue #7
Fixed issue #7