Added some of mah changes.
Merge remote-tracking branch 'upstream/master'
Hopefully got it working ;)
Made the script much better.
Merge remote-tracking branch 'upstream/master'
Merge branch 'master' into script-improvements
Automatically create the directory for the server to sit in.
Merge pull request #3 from bearbin/script-improvements

Hugely improved the script.