added script to generate new ctype