initial script version