Format script