Modify code so that it can be run outside a Fedora box.