Make hookscript definition in oned.conf configurable + little cleanup