Updated scripts and documentation