Added '--public' and '--private' options
Added '-v, --version' option