Most of the function is now automated! I need to explain exactly how to work this but this reduces the time taken to analyze data by at least an hour per analysis.