Adding some instructions and allowed the user to input the printSearch string in order to be a bit more flexible