external script doesn't add the attributes it prints out