File export

-Added file export functionality
-Fixed bug where surveys were missing an item
-Added conditional statements to construct SRs differently based on SR
site