Make hookscript install + definition in oned.conf configurable + little cleanup