updating scripts and documentation