passes fragsd to generate_fragments