Bash script

Finishes #2