set script (currently semi tailored to oist)