Format script.