Added colour to the error output and added a sleep