adding script and data