Fedora support and general improvements