Added reference to takeshixx's script I based work off of.