Updated to use documentation format.
Updated to check real_entries symlinks when called from another directory.