Got the external grep using temp script file basically working. Cleanup remaining...