make apf work on ubuntu and do the bare minimum attributes being
variables