changed string formatting to use string.format  closes #14