Create spec_gen.sh