updated scripts for other platforms