Script and tidy file