made it so you can have a comma or a pipe at end of line instead of just a pipe