Adds initial loops for final export instructions