Added verbose mode to the program.