add re & script now works to grab ids