From https://github.com/avatarnewyork/pagerdutysays/blob/master/index.php