edited occamengine to support fedora and ubuntu