Added Fedora and Amazon Linux support