Formatting script