Reindent script