fixed things I obviously didn't test before

*really* fixed the typo for start positions
updated batch function to pass in correct parameters to build_csv