add clean up script

update message_types.h to integrate snapshot index type change from
unsigned char to unsigned int