Minor syntax fixes to allow for successful execution

I added a default version (the current latest) and fixed a couple of minor syntax errors. I also added a recurse argument to the creation of the data directory to ensure appropriate permissions. Without that I was running into an issue where Mongo was unable to start due to being unable to access the directory.