wrote bash script (gen)