make version 2 generation script