Createing generation command