Modified exporting of DataSource to occur at the end of the file
Removed unnecessary newline