make gorm tool configurable