Put all linux only functionality into if statement
Split output into files by 1000 records per one spreadsheet