Using thing app ids and filter in the main script.