Worked on more bash stuff. Line endings are annoying me.