Bash file.

Right now it *works* but could be done better.