Script and output