Rename $dir with a more appropiate name: $rootDir
Update the version release date.