Adding new logic to prob 10 which drastically improved performance. Fixing file permissions.