Fixed directory not exists

If directory does not exist this script creates it.
Merge pull request #2 from CrackedBone/master

Fixed 'directory not exists'