Final form of the script

Added CentOS, Debian and Fedora support. Also added exporting
functionality.