fixed changelog generator script
fixed permissions of changelog generation script