added script fixes in case network isn't available for a demo
updated foreach comments for clarity
cleanup of summary page
cleanup
cleanup