Add Fragments and variables