added dbsetup and tmp directory