smoke-tracking script to quickly diagnose errors and track inputs, outputs and environment variables to replicate SMOKE runs