Basic support for dnf

I've added basic dnf support to the script