deleted a file added by my poor bash coding, and moved the command to run pacman update out of the main if statement, as it would stop updates if you had no news to read.