Made the -h argument work correctly in newdb