Create output directory if it doesn't exist, make script executable.
Put dir back.
Merge pull request #4 from skorokithakis/master

Create output directory if it doesn't exist, make script executable.