bringing together first steps of pan genome script