Fix formatting function to format what is expected
update final build config