changed the generate sh file using argument

pass in the  argument