Richard Hult <rhult@codefactory.se> Based on code by: Michael Fulbright <msf@redhat.com>