reformating script