Format the scripts.