Forgot to set the script when changing node type.