Add Sgenerate command