Added logic for fedora. Addresses #2
Reduced redundant output. Closes #2.