added dbext and scratch