reformated scripts