Change default parameters, remove excess code, block debug, implement output file