Add the magic script.