Worked on a few scripts and a query for custom fields