Fix config constants and add puts statements