PatentForm and DB scripts