changed output messages format
implemented option --directory
check user UID is root
implemented option --limit