added sleep before opening webpage.