Changed alert and require

We all collectively worked on this.