add support for fedora and amazon