adding wildcard for the sender/registration hooks; as well as formatting