Added hooks and sample for datamite