Adjustments to prevent extra sample files from crashing the site.

Added 'crs' as known variable that we don't use. Some of the samples include it.
Added a try/except.