check of symlinks and directories existence separately
moved glossary commands to separate file