Updated scripts and libraries