Export csv

Modified data step and proc export to export correct variables.