Tidied the script up a little and implemented already buffed check.