Code review fixes from @palli
Switched from ^ to {} type python str.format