adding data formatting script