updated header file generator script