Added some basic flood protection