Create hibernate script