removed trailing slash from dir if there is one
updating version to reflect changes