Fixing some output issues and adding wrapper file for updating outputs.