scripts detect form vs list reports