added script to list fields