initial script and input data