Keep primer params were switched
Need to coerce primer location from string to int
Adding total to output columns