created skeletal 'each' function to process local/system id
added 'scripts' section