Cleaned up generate.py, made minor edit to boxcar post