updated scripts and libs