Added better replacements (works with fb), and added ipv6