Removed the chmoding of directory

fixes #17