Reformating scripts