added expect before creating databases