Add rust version of hibernate script