adding script and documentation